﻿
namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 钎焊记录
    /// </summary>
    [SugarTable("cks_brazing_record")]
    [Table(Name = "cks_brazing_record")]
    public class CksBrazingRecord : BaseEntity
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary =true,IsIdentity =true)]
        public long Id { get; set; }

        /// <summary>
        /// 批次号 
        /// </summary>
        public string BatchNo { get; set; }

        /// <summary>
        ///  1执行中 10已完成 
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 料架编号
        /// </summary>
        public int MaterialRackNo { get; set; }
        /// <summary>
        /// 炉子编号
        /// </summary>
        public int FurnaceNo {  get; set; }
        /// <summary>
        /// 标记位置
        /// </summary>
        public int LocationId {  get; set; }
        /// <summary>
        /// 曲线号
        /// </summary>
        public int CurveNo {  get; set; }
        /// <summary>
        /// 设定温度
        /// </summary>
        public decimal SetTemperature {  get; set; }
        /// <summary>
        /// 真空度
        /// </summary>
        public decimal VacuumDegree {  get; set; }
        /// <summary>
        /// 电控柜电量
        /// </summary>
        public decimal ElectricCabinetPower {  get; set; }
        /// <summary>
        /// 加热柜电量
        /// </summary>
        public decimal HeatingCabinetPower {  set; get; }
        /// <summary>
        /// 开始时间 
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间 
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime CreatedTime { get; set; }=DateTime.Now;

        

    }
}